|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
CopyImpl.java | - | 71.4% | 71.4% | 71.4% |
|
1 |
/*
|
|
2 |
* $Id: CopyImpl.java,v 1.1 2004/12/15 14:18:12 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.model.elements.impl;
|
|
10 |
|
|
11 |
import bexee.core.ProcessController;
|
|
12 |
import bexee.core.ProcessInstance;
|
|
13 |
import bexee.model.BPELElementVisitor;
|
|
14 |
import bexee.model.elements.Copy;
|
|
15 |
import bexee.model.elements.From;
|
|
16 |
import bexee.model.elements.To;
|
|
17 |
|
|
18 |
/**
|
|
19 |
* Default implementation of the <code>Copy</code> BPEL element.
|
|
20 |
*
|
|
21 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
|
|
22 |
* @author Patric Fornasier
|
|
23 |
* @author Pawel Kowalski
|
|
24 |
*/
|
|
25 |
public class CopyImpl implements Copy { |
|
26 |
|
|
27 |
private To to;
|
|
28 |
|
|
29 |
private From from;
|
|
30 |
|
|
31 |
//**************************************************/
|
|
32 |
// c'tors
|
|
33 |
//**************************************************/
|
|
34 |
|
|
35 | 40 |
public CopyImpl() {
|
36 | 40 |
super();
|
37 |
} |
|
38 |
|
|
39 |
//**************************************************/
|
|
40 |
// bexee.model.elements.Copy
|
|
41 |
//**************************************************/
|
|
42 |
|
|
43 | 40 |
public void setTo(To to) { |
44 | 40 |
this.to = to;
|
45 |
} |
|
46 |
|
|
47 | 6 |
public To getTo() {
|
48 | 6 |
return to;
|
49 |
} |
|
50 |
|
|
51 | 40 |
public void setFrom(From from) { |
52 | 40 |
this.from = from;
|
53 |
} |
|
54 |
|
|
55 | 6 |
public From getFrom() {
|
56 | 6 |
return from;
|
57 |
} |
|
58 |
|
|
59 | 0 |
public void accept(ProcessController controller, ProcessInstance instance) |
60 |
throws Exception {
|
|
61 | 0 |
controller.process(this, instance);
|
62 |
} |
|
63 |
|
|
64 | 0 |
public void accept(BPELElementVisitor elementVisitor) { |
65 | 0 |
elementVisitor.visit(this);
|
66 |
} |
|
67 |
|
|
68 |
} |
|